ENDS End Segment or Structure Definition Directive 1. name SEGMENT [align] [combine] ['class'] name ENDS 2. name STRUC fielddefinitions name ENDS Marks the end of a segment or a structure definition. In TASM Ideal mode, the name of the segment comes last, like this: ENDS [name].